package com.example.yixueban.service_interface;

import com.example.yixueban.domain.User;
import com.example.yixueban.domain.UserExample;

import java.util.List;

/**
 * User: Wang YiHan
 * Date: 2021/8/4 14:12
 * Email: 783096044@qq.com
 * File_Name: UserService
 **/
public interface UserService {


    int deleteByPrimaryKey(Integer userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);


    long countByExample(UserExample example);

    int deleteByExample(UserExample example);

    List<User> selectByExample(UserExample example);

    int updateByExampleSelective(User record, UserExample example);

    int updateByExample(User record, UserExample example);
}




